package com.jolink.omiis.wechat.inner;

/**
 * 
 * 全媒体会话类型，会话不同阶段状态定义
 * 
 * @author WangYanqing
 *
 */
public enum ConversationType {

	EVENT_REGISTER_COMPLETED("event_register_completed"), TEXT("text"), AUDIO("audio"), VIDEO("video"), IMAGE(
			"image"), EVENT_QUEUE_UPDATE("event_queue_update"), EVENT_HANGUP_ARRIVED(
					"event_hangup_arrived"), EVENT_TRANSFER_ARRIVED("event_transfer_arrived"), EVENT_CONFERENCE_ARRIVED(
							"event_conference_arrived"), EVENT_MONITOR_ARRIVED(
									"event_monitor_arrived"), EVENT_MONITOR_RELEASED(
											"event_monitor_released"), EVENT_TAKEOVER_ARRIVED(
													"event_takeover_arrived"), EVENT_INTERVENE_ARRIVED(
															"event_intervene_arrived"), CONFIRM_BUSINESS_TYPE(
																	"confirm_business_type"), ROBOT(
																			"robot"), RESOURCE_REQUEST(
																					"resource_request"), HANGUP(
																							"hangup"), EVENT_WAITING(
																									"event_waiting"), EVENT_WAITING_REPLY(
																											"event_waiting_reply"), EVENT_TALK(
																													"event_talk"), SATISFACTION_SURVEY(
																															"satisfaction_survey"), EVENT_DISCONNECT_ARRIVED(
																																	"event_disconnect_arrived"), EVENT_HANGUP_COMPLETED(
																																			"event_hangup_completed"), NO_REPLAY_NOTIFICATION(
																																					"no_replay_notification"), DISCONNECT(
																																							"disconnect");

	private String value;

	private ConversationType(String value) {
		this.value = value;
	}

	public String getValue() {
		return value;
	}

	@Override
	public String toString() {
		return value.toUpperCase();
	}
}
